<table style="width: 100%;" cellpadding="4" cellspacing="0">
<tr>
    <td>
    {language text="total_topics"}: <b>{$iTotalTopics}</b>
    |
    {language text="total_posts"}: <b>{$iTotalPosts}</b>

    <br />
    <br />

    <table style="width:100%;" class="forum-1" cellpadding="5" cellspacing="1">

    </table>

    <table style="width:100%;" class="forum-2" cellpadding="5" cellspacing="1">
        <tr class="forum-1">
            <td style="width:10%;text-align:center;"><img src="design/pic/spacer.gif" alt="" width="40" height="2" /></td>
            <td style="width:50%;font-size:8pt;"><span style="vertical-align:middle;"><b>{language text="forum"}</b></span></td>
            <td style="width:10%;text-align:center;font-size:8pt;"><span style="vertical-align:middle;"><b>{language text="topics"}</b></span></td>
            <td style="width:10%;text-align:center;font-size:8pt;"><span style="vertical-align:middle;"><b>{language text="posts"}</b></span></td>
            <td style="width:30%;text-align:center;font-size:8pt;"><span style="vertical-align:middle;"><b>{language text="last_post"}</b></span></td>
        </tr>
    {foreach from=$aForums item=aForum}
        <tr>
            <td style="width:10%;text-align:center;" class="forum-3">{if $aForum.img}{img src="`$sForumImagesUrl``$aForum.img`" src_def="design/pic/noimage_50.jpg" max_width=40 max_height=40 alt="" width="40" height="40"}{else}&nbsp;{/if}</td>
            <td style="width:50%;font-size:8pt;" class="forum-3">
                <div style="font-size:10pt;"><a href="{url link='public.forum.topics' id=$aForum.forum_id foxseotitle=$aForum.forum_title}">{language translate=$aForum.forum_title}</a></div>
                <div style="padding:5px;">{$aForum.forum_info}</div>
            </td>
            <td style="width:10%;text-align:center;font-size:8pt;" class="forum-3">{$aForum.total_topics}</td>
            <td style="width:10%;text-align:center;font-size:8pt;" class="forum-3">{$aForum.total_posts}</td>
            <td style="width:30%;text-align:center;font-size:8pt;" class="forum-3">
            {if $aForum.last_time}
                <a href="{url link='public.forum.posts' id=$aForum.last_id page=last}{if $aForum.last_url}#r{$aForum.last_url}{/if}">{$aForum.last_thread}</a><br />
                {language text="by"}: <a href="{url link='public.user' name=$aForum.last_user}">{$aForum.last_user}</a><br />
                {$aForum.last_time|date_format:$sDateTimeFormat}
            {else}
                {language text="no_topics"}
            {/if}
            </td>
        </tr>
    {/foreach}
    </table>

    <table style="width:100%;" class="forum-1" cellpadding="5" cellspacing="1">
        <tr>
            <td colspan="5" style="font-size:8pt;">{$dtToday|date_format:$sDateFormat}</td>
        </tr>

    </table>
    <br />

    {language text="total_topics"}: <b>{$iTotalTopics}</b>
    |
    {language text="total_posts"}: <b>{$iTotalPosts}</b>
    <br />
    <br />
    </td>
</tr>
</table>